Skip to content

Conversation

@Salonii02
Copy link
Contributor

@Salonii02 Salonii02 commented Jun 30, 2025

Summary

This pull request introduces supporting methods for the SNIP-29 Applicative Paymaster API, enabling off-chain paymaster integration for sponsored and flexible transaction fee payments.
This PR closes #745.

Key Changes

  • A new paymaster pkg was created in the root of the repository to provide a dedicated interface for the paymaster API.
  • It implements all methods from the OpenRPC specification: https://github.com/starknet-io/SNIPs/blob/main/assets/snip-29/paymaster_api.json
    • paymaster_isAvailable
    • paymaster_getSupportedTokens
    • paymaster_buildTransaction
    • paymaster_executeTransaction
    • paymaster_trackingIdToLatestHash
  • Mock and integration tests with the AVNU paymaster to assert correctness.
  • New CI workflow to continuously verify the paymaster functionality.
  • New paymaster example in the example folders showing how to use it.

@thiagodeev
Copy link
Collaborator

Thank you @Salonii02!
I'll do my best to review it tomorrow

@thiagodeev
Copy link
Collaborator

Hi @Salonii02!
Unfortunately, due to the proximity of Starknet v0.14.0 + RPC v0.9.0 update in Sepolia, I'll pause the reviews for a few days to release a compliant Starknet.go version ASAP.
Hope you understand 🙌

@Salonii02
Copy link
Contributor Author

Hi @Salonii02! Unfortunately, due to the proximity of Starknet v0.14.0 + RPC v0.9.0 update in Sepolia, I'll pause the reviews for a few days to release a compliant Starknet.go version ASAP. Hope you understand 🙌

Okay Thanks!! No worries, will wait for the review.

@Salonii02
Copy link
Contributor Author

Hi @Salonii02! Unfortunately, due to the proximity of Starknet v0.14.0 + RPC v0.9.0 update in Sepolia, I'll pause the reviews for a few days to release a compliant Starknet.go version ASAP. Hope you understand 🙌

Hey @thiagodeev Did you get chance to review my changes

@thiagodeev
Copy link
Collaborator

Hey! Sorry @Salonii02, not yet. All PR reviews are still paused until the final rpc v0.9 release.
But I can see the CI is failing with some errors. You can fix them in the meantime

@tarrencev
Copy link
Contributor

Looking forward to this landing!

@thiagodeev
Copy link
Collaborator

Hey @Salonii02!
I've pushed some commits to the PR, and will be making more hehe. I'm currently working directly on this feature.
I'm leveraging your work. Thanks again!
I'll give you an overview of the changes at the end of my work and a review of yours.

@Salonii02
Copy link
Contributor Author

Hey @Salonii02! I've pushed some commits to the PR, and will be making more hehe. I'm currently working directly on this feature. I'm leveraging your work. Thanks again! I'll give you an overview of the changes at the end of my work and a review of yours.

Okay thanks!! Looking forward to it

@thiagodeev thiagodeev force-pushed the implement-SNIP-29-issue-745 branch 3 times, most recently from a44fda4 to e05372f Compare September 15, 2025 14:14
@thiagodeev thiagodeev force-pushed the implement-SNIP-29-issue-745 branch from d2f2a71 to 1164214 Compare September 18, 2025 19:46
@thiagodeev thiagodeev merged commit 9f00140 into NethermindEth:main Oct 23, 2025
13 of 14 checks passed
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in [Nubia] Starknet.go Oct 23, 2025
@thiagodeev
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

implement SNIP-29

3 participants